CVE-2024-43398
REXML denial of service vulnerability
Description
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.
INFO
Published Date :
Aug. 22, 2024, 3:15 p.m.
Last Modified :
Sept. 19, 2025, 3:51 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2024-43398
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Upgrade to REXML version 3.3.6 or later.
- Update the affected ruby packages.
- Update the affected packages.
Public PoC/Exploit Available at Github
CVE-2024-43398 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-43398
.
URL | Resource |
---|---|
https://github.com/ruby/rexml/releases/tag/v3.3.6 | Release Notes |
https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3 | Vendor Advisory |
https://security.netapp.com/advisory/ntap-20250103-0006/ | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-43398
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-43398
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Ruby Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-43398
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-43398
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 19, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* versions up to (excluding) 3.3.6 Added CPE Configuration AND OR *cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/ruby/rexml/releases/tag/v3.3.6 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3 Types: Vendor Advisory Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20250103-0006/ Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 03, 2025
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20250103-0006/ -
CVE Received by [email protected]
Aug. 22, 2024
Action Type Old Value New Value Added Description REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability. Added Reference GitHub, Inc. https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3 [No types assigned] Added Reference GitHub, Inc. https://github.com/ruby/rexml/releases/tag/v3.3.6 [No types assigned] Added CWE GitHub, Inc. CWE-776 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H